package com.wy.dao;

import com.wy.model.MiniAppUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MiniAppUserDao {

	//新增
	public int insert(MiniAppUser miniAppUser);

	//修改
	public int update(MiniAppUser miniAppUser);

	//批量删除
	public int deletebth(String[] ids);


	//根据Id查询单条记录
	public MiniAppUser getById(String id);


	//查询列表
	public List<MiniAppUser> list(MiniAppUser miniAppUser);

	/**
	 * 根据动态字段查询单条
	 * @return
	 */
	public MiniAppUser getOneByField(@Param("field") String field, @Param("fieldvalue") String fieldvalue);


 }